package net.lab1024.sa.base.module.support.message.domain;

import lombok.Data;
import net.lab1024.sa.base.common.enumeration.UserTypeEnum;
import net.lab1024.sa.base.module.support.message.constant.MessageTypeEnum;

import java.time.LocalDateTime;

/**
 * 消息
 *
 * @author luoyi
 * @date 2024/06/22 20:20
 */
@Data
public class MessageVO {

    private Long messageId;

    // 枚举字段
    private Integer messageType;

    // 枚举字段
    private Integer receiverUserType;

    // 接收者id
    private Long receiverUserId;

    // 相关业务id
    private String dataId;

    // 消息标题
    private String title;

    // 消息内容
    private String content;

    // 是否已读
    private Boolean readFlag;

    // 已读时间
    private LocalDateTime readTime;

    // 创建时间
    private LocalDateTime createTime;
}